#ifndef UPLOAD_CLI_SSO_PLUGIN
#define UPLOAD_CLI_SSO_PLUGIN

#include <QObject>
#include <QtPlugin>
#include <QString>
#include <QStringList>
#include <QVariant>
#include <SignOn/authpluginif.h>

// SSO plugin functionality to UploadCli
class UploadCliPlugin : public AuthPluginInterface
{
  Q_OBJECT;

  Q_INTERFACES(AuthPluginInterface);


 public:
  // Create new instance of plugin
  UploadCliPlugin(QObject * parent = 0);
  
  ~UploadCliPlugin();
  
  QString type() const;
  QStringList mechanisms() const;
  /*
  void cancel();
  void abort();
  */
  void process(const SignOn::SessionData &inData,
			   const QString &mechanism = QString());

 private:
};

#endif //#ifndef UPLOAD_CLI_SSO_PLUGIN
